package jeecg.business.entity.chat;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**   
 * @Title: Entity
 * @Description: 聊天信息
 * @author LinYingPiaoJian
 * @date 2015-11-09 10:19:32
 * @version V1.0   
 *
 */
@Entity
@Table(name = "QQ_CHAT_INFO", schema = "")
@SuppressWarnings("serial")
public class ChatInfoEntity implements java.io.Serializable , Cloneable{
	/**主键*/
	private java.lang.String id;
	/**QQ号*/
	private java.lang.String qqnum;
	/**昵称*/
	private java.lang.String nickname;
	/**时间*/
	private Date time;
	/**聊天内容*/
	private java.lang.String info;
	
	private String qqGroupName;
	
	public ChatInfoEntity(){}
	
	public ChatInfoEntity clone(){
		try {
			return (ChatInfoEntity)super.clone();
		} catch (CloneNotSupportedException e) {
			return null;
		}
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  主键
	 */
	
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=64)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  主键
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  QQ号
	 */
	@Column(name ="QQNUM",nullable=true,length=31)
	public java.lang.String getQqnum(){
		return this.qqnum;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  QQ号
	 */
	public void setQqnum(java.lang.String qqnum){
		this.qqnum = qqnum;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  昵称
	 */
	@Column(name ="NICKNAME",nullable=true,length=255)
	public java.lang.String getNickname(){
		return this.nickname;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  昵称
	 */
	public void setNickname(java.lang.String nickname){
		this.nickname = nickname;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  时间
	 */
	@Column(name ="TIME",nullable=true)
	public Date getTime(){
		return this.time;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  时间
	 */
	public void setTime(Date time){
		this.time = time;
	}
	/**
	 *方法: 取得java.lang.Object
	 *@return: java.lang.Object  聊天内容
	 */
	@Column(name ="INFO",nullable=true)
	public java.lang.String getInfo(){
		return this.info;
	}

	/**
	 *方法: 设置java.lang.Object
	 *@param: java.lang.Object  聊天内容
	 */
	public void setInfo(java.lang.String info){
		this.info = info;
	}
	@Column(name ="QQGROUPNAME")
	public String getQqGroupName() {
		return qqGroupName;
	}

	public void setQqGroupName(String qqGroupName) {
		this.qqGroupName = qqGroupName;
	}
	
	
}
